<%@ page import="java.util.*" %>
<%@ page import="com.vo.Pedidos;" %>
<jsp:useBean id="bean" class="com.bean.PedidoBean" scope="session" />
<table cellspacing="0" cellpadding="0">
<thead>
<tr>
<th class="hidden"></th>
<th class="headTH">Nombre</th>
<th class="headTH">Precio</th>
</tr>
</thead>
<tbody>
<%
Collection col=bean.getPedidos();
Iterator it=col.iterator();
int i=0;
while(it.hasNext()){
	Pedidos p=(Pedidos)it.next();%>
<tr<%=((i%2==0)?" class=\"trOdd\"":"")%>>
<td class="hidden">
<input type="hidden" name="id" value="<%=p.getIdPedido()%>" />
<input type="hidden" name="clientid" value="<%=p.getIdCliente()%>" />
</td>
<td><%=p.getIdPedido()%></td>
<td><%=p.getIdCliente()%></td>
</tr>
<%
i++;
}%>
</tbody>
</table>